package com.example.sentinel.common.bean;

import lombok.Data;


/**
 * 自定义异常
 *
 * @author luojm
 * 2019-11-22 15:24:58
 */
@Data
public class FailException extends RuntimeException {

    public FailException(String message) {
        super(message,null,false,false);
    }
    public FailException(String message, Throwable cause) {
        super(message, cause,false,false);
    }
    public FailException(Throwable cause) {
        super(null,cause,false,false);
    }
    public FailException(String message, Throwable cause, boolean writableStackTrace) {
        super(message, cause, false, writableStackTrace);
    }
    public FailException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

}
